import time
import threading

def sing():
    while True:
        print("唱歌")
        time.sleep(1)
def dance():
    while True:
        print("跳舞")
        time.sleep(1)
s = threading.Thread(target=sing)
d = threading.Thread(target=dance)
s.start()
d.start()
